package com.wanxi.door;

public abstract class AbsDoor {
    protected String brand;
    protected int height;
    protected int width;

    public AbsDoor() {
    }

    public AbsDoor(String brand, int height, int width) {
        this.brand = brand;
        this.height = height;
        this.width = width;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public abstract void open();

    public abstract void close();
}
